package com.ruoyi.project.system.vehiclestationinfo.service.impl;

import java.util.List;

import com.ruoyi.project.system.vehiclestationinfo.domain.VeVehiclestationinfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.system.vehiclestationinfo.mapper.VeVehiclestationinfoMapper;
import com.ruoyi.project.system.vehiclestationinfo.domain.VeVehiclestationinfo;
import com.ruoyi.project.system.vehiclestationinfo.service.IVeVehiclestationinfoService;
import com.ruoyi.common.utils.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
@Service
public class VeVehiclestationinfoServiceImpl implements IVeVehiclestationinfoService 
{
    @Autowired
    private VeVehiclestationinfoMapper veVehiclestationinfoMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param VehicleStationID 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public VeVehiclestationinfo selectVeVehiclestationinfoByVehicleStationID(Long VehicleStationID)
    {
        return veVehiclestationinfoMapper.selectVeVehiclestationinfoByVehicleStationID(VehicleStationID);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param veVehiclestationinfo 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<VeVehiclestationinfo> selectVeVehiclestationinfoList(VeVehiclestationinfo veVehiclestationinfo)
    {
        return veVehiclestationinfoMapper.selectVeVehiclestationinfoList(veVehiclestationinfo);
    }

    @Override
    public List<VeVehiclestationinfoVo> selectVeVehiclestationinfoList1(VeVehiclestationinfoVo veVehiclestationinfoVo) {
        return veVehiclestationinfoMapper.selectVeVehiclestationinfoList1(veVehiclestationinfoVo);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param veVehiclestationinfo 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertVeVehiclestationinfo(VeVehiclestationinfo veVehiclestationinfo)
    {
        return veVehiclestationinfoMapper.insertVeVehiclestationinfo(veVehiclestationinfo);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param veVehiclestationinfo 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateVeVehiclestationinfo(VeVehiclestationinfo veVehiclestationinfo)
    {
        return veVehiclestationinfoMapper.updateVeVehiclestationinfo(veVehiclestationinfo);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param VehicleStationIDs 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteVeVehiclestationinfoByVehicleStationIDs(String VehicleStationIDs)
    {
        return veVehiclestationinfoMapper.deleteVeVehiclestationinfoByVehicleStationIDs(Convert.toStrArray(VehicleStationIDs));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param VehicleStationID 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteVeVehiclestationinfoByVehicleStationID(Long VehicleStationID)
    {
        return veVehiclestationinfoMapper.deleteVeVehiclestationinfoByVehicleStationID(VehicleStationID);
    }
}
